﻿@model IEnumerable<VietPremier.Models.GetNewEventModel>
<div class="box">
                    	<div class="boxlabel">Tin tức & Sự kiện</div><!--/ .boxlabel-->
                        <div class="a-inner">
                          <ul id="slide">
                              @for(int i = 0; i <= (@Model.Count() - 1) / 8; i ++)
                              {
                                  <li>
                            	        <ul>
                                  @for (int j = 0; j < 8 && (i * 8 + j) < @Model.Count(); j++)
                                  {
                                       
                                	            <li><a href="@Url.Action("News_EventDetail","Home", new { title = Utilities.Encode(Model.Skip(i * 8 + j).Take(1).SingleOrDefault().Name)})">@Model.Skip(i * 8 + j).Take(1).SingleOrDefault().Name</a></li>                                            
                                  }
                                        </ul>
							    </li>
                              }
						 </ul>
						 <div id="slide-pager">
							 <a  href="#" id="slide_next"><img src="@Url.Content("~/Content/cssFrontEnd/images/btn-down.png")" /></a>
						 </div><!--/ #slide-pager-->
                       </div> <!--/ .a_inner-->
    				</div><!--/ .box-->  